package com.thti.mecool.client.command.result.location;

import com.thti.mecool.client.command.ICommand;
import com.thti.mecool.client.protocol.location.LocationResultProtocol;
import com.thti.mecool.client.service.Protocol;

public class LocationCommand implements ICommand{
	@Override
	public void doCommand(Object o) {
		LocationResultProtocol lr=(LocationResultProtocol)o;
		if(lr.getStatus()==1){
			System.out.println("发送用户地址成功！");
		}
	}

	@Override
	public String getCommandID() {
		// TODO Auto-generated method stub
		return Protocol.getUploadUserLoacte;
	}

	@Override
	public Class getCommandClass() {
		// TODO Auto-generated method stub
		return LocationResultProtocol.class;
	}

}
